/* Modal样式 */
:global(.ant-modal-content) {
  border-radius: 8px;
  overflow: hidden;
}

:global(.ant-modal-header) {
  background: #f8f9fa;
  padding: 16px 24px;
}

:global(.ant-modal-body) {
  padding: 24px;
}

:global(.ant-modal-footer) {
  padding: 16px 24px;
  border-top: 1px solid #f0f0f0;
}

/* 模态框样式优化 */
:global(.ant-modal-confirm-content) {
  margin-top: 0 !important;
  margin-left: 0 !important;
}

:global(.ant-modal-confirm-btns) {
  margin-top: 24px;
  text-align: center !important;
}

.dbConfigForm {
  position: relative;
}

.dbConfigTip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: #e6f7ff;
  border: 1px solid #91d5ff;
  border-radius: 6px;
  margin-bottom: 24px;
}

.tipIcon {
  font-size: 18px;
  line-height: 24px;
}

.tipContent {
  color: #1890ff;
  font-size: 14px;
  line-height: 1.5;
}

.connectSuccess {
  color: #52c41a;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
